replace 'config-yaml/configtxOrgs.json' with 'config-yaml/orgs/[peer/orderer]-[orgName].json #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PULL REQUEST
說明 (Description)
network create
時會產生config-yaml/configtxOrgs.json
,在channel create時會成為org的選項但是
peer create
時,新的peer org 不會被加到這個檔案,導致新組織無法再channel create
時被選擇此PR的改成在1個org就是一個檔案,在
network create
與peer/orderer create
時都會產生此檔案。檔案名稱:
舊:
config-yaml/configtxOrgs.json
新:
config-yaml/orgs/[peer/orderer]-[orgName].json
相關問題 (Linked Issues)
channel create
時選擇貢獻種類 (Type of change)
測試環境 (Test Configuration):
*OS: Ubuntu 20.04.3 LTS (GNU/Linux 5.11.0-1020-gcp x86_64)
*NodeJS Version: v16.13.1
*NPM Version: 8.2.0
*Docker Version: 20.10.9
檢查清單 (Checklist):
我已完成以上清單,並且同意遵守 Code of Conduct
I have completed the checklist and agree to abide by the code of conduct.